//
//  UIImageView+Expand.m
//  App
//
//  Created by tenltrs on 2018/6/27.
//  Copyright © 2018年 Tenltrs. All rights reserved.
//

#import "UIImageView+Expand.h"
#import "UIImageView+WebCache.h"

@implementation UIImageView (Expand)

-(void)loadImageWithUrl:(NSString *)url{
    
    [self loadImageWithUrl:url placeholderImage:@""];
}

-(void)loadImageWithUrl:(NSString *)url placeholderImage:(NSString *)placeholderImage{
    
    [self sd_setImageWithURL:[NSURL URLWithString:url] placeholderImage:[UIImage imageNamed:placeholderImage]];
}

@end
